#ifndef __UARTTOOL_H
#define __UARTTOOL_H
int myserialOpen(const char *device, const int baud);
// 会传递0XAA 0X55 0X46 0x00 0X55 0XAA类似的参数
void serialSendstring(const int fd, const unsigned char *s, int len);

int serialGetstring(const int fd, unsigned char *buffer);

#define SERIAL_DEV "/dev/ttyS5"
#define BAUD 115200

#endif
